Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include password regex for Dashboardsinfo to display to users #2999

Merged
merged 3 commits into from
Jul 18, 2023

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Jul 12, 2023

Description

Returns Password validation regex setting in the dashboards info API call. This will be used by the front end plugin for validation of the provided password when trying to create users

  • Enhancement
  • Pull settings to use for UI validation
  • Same message no matter regex from settings

Issues Resolved

[List any issues this PR will resolve]

Is this a backport? If so, please add backport PR # and/or commits #

Testing

[Please provide details of testing done: unit testing, integration testing and manual testing]

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Derek Ho <dxho@amazon.com>
Signed-off-by: Derek Ho <dxho@amazon.com>
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #2999 (b8e3af0) into main (f1be2d7) will decrease coverage by 0.07%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #2999      +/-   ##
============================================
- Coverage     62.39%   62.32%   -0.07%     
+ Complexity     3380     3369      -11     
============================================
  Files           267      267              
  Lines         19772    19774       +2     
  Branches       3355     3355              
============================================
- Hits          12336    12324      -12     
- Misses         5798     5805       +7     
- Partials       1638     1645       +7     
Impacted Files Coverage Δ
...opensearch/security/rest/DashboardsInfoAction.java 78.57% <100.00%> (+1.07%) ⬆️

... and 10 files with indirect coverage changes

@cwperks
Copy link
Member

cwperks commented Jul 17, 2023

@derek-ho Can you re-base this PR with main?

@derek-ho
Copy link
Collaborator Author

@derek-ho Can you re-base this PR with main?

Done

@peternied peternied merged commit 744b5d4 into opensearch-project:main Jul 18, 2023
52 of 55 checks passed
@cwperks cwperks added the backport 2.x backport to 2.x branch label Jul 19, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 19, 2023
* add password regex setting onto dashboardsinfo backend call

Signed-off-by: Derek Ho <dxho@amazon.com>
(cherry picked from commit 744b5d4)
cwperks added a commit that referenced this pull request Aug 1, 2023
… call (#3033)

Backport 744b5d4 from #2999

Co-authored-by: Derek Ho <dxho@amazon.com>
Co-authored-by: Craig Perkins <cwperx@amazon.com>
@peternied peternied changed the title add password regex setting onto dashboardsinfo backend call Include password regex for Dashboardsinfo to display to users Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants